﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace _02.SignOfThreeNumbers
{
    class signOfThreeNumbers
    {
        static void Main(string[] args)
        {
            Console.WriteLine("Enter three numbers");
            Console.Write("a= ");
            int a = Convert.ToInt32(Console.ReadLine());
            Console.Write("b= ");
            int b = Convert.ToInt32(Console.ReadLine());
            Console.Write("c= ");
            int c = Convert.ToInt32(Console.ReadLine());
            if (a > 0 && b > 0 && c > 0)
            {
                Console.WriteLine("The sign in +");
            }
            else if (a > 0 && b > 0 && c < 0)
            {
                Console.WriteLine("The sing is -");
            }
            else if (a > 0 && b < 0 && c < 0)
            {
                Console.WriteLine("The sing is +");
            }
            else if (a > 0 && b < 0 && c > 0)
            {
                Console.WriteLine("The sing is -");
            }
            else if (a < 0 && b > 0 && c < 0)
            {
                Console.WriteLine("The sing is +");
            }
            else if (a < 0 && b < 0 && c < 0)
            {
                Console.WriteLine("The sing is -");
            }
            else if (a < 0 && b < 0 && c > 0)
            {
                Console.WriteLine("The sing is +");
            }
            else
            {
                Console.WriteLine("The sign is -");
            }
        }
    }
}
